import Layout from '@/layout'

const zouRouter = {
  path: '/zou',
  component: Layout,
  redirect: '/zou/index',
  name: 'Zou',
  meta: {
    title: '邹',
    icon: 'clipboard'
  },
  children: [
    {
    path: 'storeTypes',
    component: () => import('@/views/content/week/storeTypes'),
    name: 'storeTypes',
    meta: {
      title: '题库分类',
      icon: ''
    }
  },
    {
      path: 'sortList',
      name: 'sortList',
      component: () => import('@/views/content/week/storeSortList'),
      meta: {
        title: '题库管理',
        icon: 'clipboard'
      }
    },
    {
      path: 'weekArticleEdit',
      name: 'weekArticleEdit',
      component: () => import('@/views/content/week/articleEdit'),
      meta: {
        title: '编辑题目',
        icon: 'clipboard'
      },
      hidden: true
    },
    {
      path: 'daySortTypes',
      name: 'daySortTypes',
      component: () => import('@/views/content/day/sortTypes'),
      meta: {
        title: '题库分类',
        icon: 'clipboard'
      },
    },
    {
      path: 'daySortList',
      name: 'daySortList',
      component: () => import('@/views/content/day/sortList'),
      meta: {
        title: '案例列表',
        icon: 'clipboard'
      },
    },
    {
      path: 'dayEdit/:id?',
      name: 'dayEdit',
      component: () => import('@/views/content/day/edit'),
      meta: {
        title: '编辑题目',
        icon: 'clipboard'
      },
      hidden: true
    },
    {
      path: 'dayCreate',
      name: 'dayCreate',
      component: () => import('@/views/content/day/create'),
      meta: {
        title: '添加题目',
        icon: 'clipboard'
      },
      hidden: true
    },
    {
      path: 'coursetale',
      name: 'coursetale',
      component: () => import('@/views/content/week/week'),
      meta: {
        title: '周周通',
        icon: 'clipboard'
      }
    },
    {
			path: 'live',
			name: 'live',
			component: () => import('@/views/content/live/list'),
			meta: {
				title: '直播管理',
				icon: 'clipboard'
			}
		},
    {
			path: 'index',
			name: 'index',
			component: () => import('@/views/content/index'),
			meta: {
				title: '首页轮播图',
				icon: 'clipboard'
			}
		},
  ]
}

export default zouRouter
